package com.xwj.back.service;

import com.xwj.back.pojo.OrderPay;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface OrderService {
    List<OrderPay> getOrders(String username, String role);
    String addOrder(Map<String,String> data);
    String deleteOrder(Map<String,String> data);
    String updateOrder(Map<String,String> data);
    List<OrderPay> getOrdersByStatus(boolean status);
    Map<String,String> ImportExcel(MultipartFile file) throws IOException;
}
